package com.xcm.cloud.broker;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Component;

import com.xcm.cloud.bean.User;
import com.xcm.cloud.client.UserClient;
import com.xcm.cloud.common.ResultBean;
/**
 * 用户接口-断路器
 * 
 * @author 郭光璞
 *
 */
@Component
public class UserHystric implements UserClient {

	@Override
	public ResultBean<List<User>> users() {
		List<User> users = new ArrayList<>();
		return new ResultBean<List<User>>(users, 0, "");
	}
}
